/*
**
**			Heroes IV
**	  Copyright 2001, The 3DO Company
**
**      dialog_full_army.h
*/
// kill the 255+ character identifier warning.  Templates tend to exceed that easily.

#ifndef DIALOG_FULL_ARMY_H_INCLUDED
#define DIALOG_FULL_ARMY_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <vector>
#include "bitmap_group_ptr.h"
#include "creature_array_window.h"
#include "game_window.h"

class t_army;
class t_button;
class t_creature_stack;
class t_creature_select_window;
class t_player;
class t_text_window;

class t_dialog_full_army : public t_window
{
public:
	t_dialog_full_army( t_window* parent );
    void init_dialog(	t_creature_array & owner_army,
						t_creature_array & visitor_army );
    
protected:

	t_bitmap_group_ptr					    m_bitmaps_ptr;
	int									    m_selected_index;
	t_creature_array *						m_owner_army;
	t_creature_array_window *				m_owner_window_ptr;
	t_creature_array *						m_visitor_army;
	t_creature_array_window *				m_visitor_window_ptr;

    void close_click( t_button* button );
    void create_full_army_window();
	void check_drag_drop( t_creature_array_window::t_drag_drop_validate_data const & data, bool & accept );
};

bool create_army( t_creature_array& current_army, t_creature_array& new_army );

#endif // DIALOG_FULL_ARMY_H_INCLUDED

